package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    //微信登录(day06任务三)
    @Select("select * from user where openid =#{openId}")
    User selectByOpenId(String openId);
    //微信登录(day06任务三)
    void insertUser(User user);
}
